﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace coleções
{
    class Program
    {
        public static void Go()
        {

            String[] nomes = new String[2] {
                "Treinamento",
                "Teclógica"
            };

            for (IEnumerator e = nomes.GetEnumerator(); e.MoveNext(); Console.WriteLine(e.Current)) ;
            Console.ReadKey();

        }
    }
}
